<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="dataDictionaryDetail.title"/></title>
    <meta name="heading" content="<fmt:message key='dataDictionaryDetail.heading'/>"/>
    <meta name="menu" content="AdminMenu"/>
</head>
<s:form id="dataDictionaryForm" action="saveDataDictionary" method="post" validate="true">
    <li style="display: none">
        <s:hidden key="dataDictionary.id"/>
    </li>
    <s:select key="dataDictionary.module" list="modules" listKey="moduleName" listValue="description" cssClass="select"/>
  	<s:select key="dataDictionary.moduleName" list="modules" listKey="description" listValue="description" cssClass="select"/>
  	<s:textfield key="dataDictionary.description" required="true" cssClass="text medium"/>
	<s:textfield key="dataDictionary.remark" required="false" cssClass="text medium"/>
    <li class="buttonBar bottom">
        <s:submit cssClass="button" method="save" key="button.save" theme="simple"/>
        <s:submit cssClass="button" method="cancel" key="button.cancel" theme="simple"/>
    </li>
</s:form>

<script type="text/javascript">
    Form.focusFirstElement($("dataDictionaryForm"));
</script>
